/*
 * Copyright (c) 2017年11月01日  by XuanWu Wireless Technology Co., Ltd 
 *             All rights reserved  
 */
package com.zml.entity;

import java.util.Arrays;

/**
 * @author <a href="mailto:zhaominglin@wxchina.com">minglin.Zhao</a>
 * @Description
 * @Date 2017/11/1
 * @Version 1.0.0
 */
public class Email {
    private String subject;
    private String[] emailTos;
    private String content;

    public Email() {
    }

    public Email(String subject, String[] emailTos, String content) {
        this.subject = subject;
        this.emailTos = emailTos;
        this.content = content;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String[] getEmailTos() {
        return emailTos;
    }

    public void setEmailTos(String[] emailTos) {
        this.emailTos = emailTos;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Email{" +
                "subject='" + subject + '\'' +
                ", emailTos=" + Arrays.toString(emailTos) +
                ", content='" + content + '\'' +
                '}';
    }
}
